package config

import "wx-api/dsp-api/common"

var MgTableDspUser = &common.TkMongo{}
var MgTableDspMedia = &common.TkMongo{}
var MgTableDspMediaApp = &common.TkMongo{}
var MgTableDspMediaSlot = &common.TkMongo{}
var MgTableDspMediaTemplate = &common.TkMongo{}
var MgTableDspAdvertiser = &common.TkMongo{}
var MgTableDspAdvPlan = &common.TkMongo{}
var MgTableDspAdvCreative = &common.TkMongo{}
var MgTableDspAdvApp = &common.TkMongo{}

//__MgTableInit__

func MgTableInit() {
	MgInit()
	MgTableDspUser.GetDB(MgDb, "wxmgdb", "dsp_user")
	MgTableDspMedia.GetDB(MgDb, "wxmgdb", "dsp_media")
	MgTableDspMediaApp.GetDB(MgDb, "wxmgdb", "dsp_media_app")
	MgTableDspMediaSlot.GetDB(MgDb, "wxmgdb", "dsp_media_slot")
	MgTableDspMediaTemplate.GetDB(MgDb, "wxmgdb", "dsp_media_template")
	MgTableDspAdvertiser.GetDB(MgDb, "wxmgdb", "dsp_advertiser")
	MgTableDspAdvPlan.GetDB(MgDb, "wxmgdb", "dsp_adv_plan")
	MgTableDspAdvCreative.GetDB(MgDb, "wxmgdb", "dsp_adv_creative")
	MgTableDspAdvApp.GetDB(MgDb, "wxmgdb", "dsp_adv_app")

	//__MgTableInitDB__

}
